package cn.edu.scau.cmi.yanweijie.jdbc;

public class Student {
	private String stuName;
	private Integer stuId;
	private Integer instructorId;
	
	public Student() {};
	
	public Integer getInstructorId() {
		return instructorId;
	}

	public void setInstructorId(Integer instructorId) {
		this.instructorId = instructorId;
	}

	public Student(String stuName,Integer stuId) {
		this.stuName = stuName;
		this.stuId = stuId;
	}
	
	public String getStuName() {
		return stuName;
	}
	public void setStuName(String stuName) {
		this.stuName = stuName;
	}
	public Integer getStuId() {
		return stuId;
	}
	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	@Override
	public String toString() {
		return "Student [stuName=" + stuName + ", stuId=" + stuId + ", instructorId=" + instructorId + "]";
	}
	
}
